<gm:page title="Detail">

    <!--
       The detail application demonstrates using the item module to display
       an individual item in a feed.
       @author: GME Team
    -->
  
  <h1>Detail</h1>
  <p> Click on an item in the feed to see a detailed view of that item</p>

  <table>
    <tr valign="top">
      <td>
        <gm:list id="myList" data="http://www.livejournal.com/~anil_rvce/data/rss" size="10"/>
      </td>
      <td valign="top">
        <gm:item id="detail" template="detailTemplate">
          <gm:handleEvent src="myList"/>
        </gm:item>
      </td>
    </tr>
  </table>

  <gm:template id="detailTemplate">
    <div repeat="true">
      <b><gm:text ref="atom:title"/></b>
      <gm:text ref="atom:id"/>
      <gm:text ref="atom:content"/>
      <hr size="1"/>
      <gm:date ref="gd:when/@startTime"/>
      <gm:html ref="atom:content"/>
    </div>
  </gm:template>

</gm:page>
